package com.huabo.audit.oracle.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

@TableName("TBL_BUG")
@Data
@ApiModel("实体类")
@Accessors(chain = true)
public class TblBugEntity {
	
	@TableId(value = "bugid", type= IdType.AUTO)
    @ApiModelProperty(value="")
    private BigDecimal bugid;
	
	@TableId(value = "bugnumber")
    @ApiModelProperty(value="")
    private String bugnumber;
	
	@TableId(value = "bugdescripte")
    @ApiModelProperty(value="")
    private String bugdescripte;
	
	@TableId(value = "discovertime")
    @ApiModelProperty(value="")
    private Date discovertime;
	
	@TableId(value = "discoverperson")
    @ApiModelProperty(value="")
    private String discoverperson;
	
	@TableId(value = "bugproperty")
    @ApiModelProperty(value="")
    private String bugproperty;
	
	@TableId(value = "bugsource")
    @ApiModelProperty(value="")
    private String bugsource;
	
	@TableId(value = "bugdapartment")
    @ApiModelProperty(value="")
    private String bugdapartment;
	
	@TableId(value = "needreform")
    @ApiModelProperty(value="")
    private String needreform;
	
	@TableId(value = "resonfornoreform")
    @ApiModelProperty(value="")
    private String resonfornoreform;
	
	@TableId(value = "bugreformstatus")
    @ApiModelProperty(value="")
    private String bugreformstatus;
	
	@TableId(value = "projectname")
    @ApiModelProperty(value="")
    private String projectname;
	
	@TableId(value = "memo")
    @ApiModelProperty(value="")
    private String memo;
	
	@TableId(value = "fatherbugid")
    @ApiModelProperty(value="")
    private BigDecimal fatherbugid;
	
	@TableId(value = "bugbysystem")
    @ApiModelProperty(value="")
    private String bugbysystem;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set tblInnerrules;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set tblAttachments;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set tblOuterrules;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set tblTracingresponsibilities;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set tblReforms;
	
	@TableId(value = "tblInnerrules")
    @ApiModelProperty(value="")
    private Set<TblBugEntity> children;
	
	@TableId(value = "tblproblemTargets")
    @ApiModelProperty(value="")
    private Set<TblAssessTarget> tblproblemTargets;
	
	@TableId(value = "businessDescription")
    @ApiModelProperty(value="")
    private String businessDescription;
	
}
